import QtQuick 2.0

Component{
    id:scenePage
    Rectangle {
        anchors.fill: background
        color: "transparent"
        Rectangle{//场景界面上方区域
            id:sceneTopBar
            width: parent.width
            height: parent.height / 10
            color:"transparent"
            Image{
                anchors.left: parent.left
                anchors.verticalCenter: parent.verticalCenter
                source: "qrc:/icon/icon/m_back.svg"
                MouseArea{
                    anchors.fill: parent
                    onClicked:{
                        rootStackView.pop(scenePage)
                    }
                }
            }

            Text{
                anchors.centerIn: parent
                text: "场景"
                color: textColor
            }
        }
        Rectangle{//场景界面上方区域
            width: parent.width
            height: parent.height - sceneTopBar.height
            anchors.top: sceneTopBar.bottom
            color:"transparent"
        }
    }
}
